package io.chenglicun.modules.data.dto.statistics;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.chenglicun.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 日时间统计数据
*
* @author pipi 1151485299@qq.com
* @since 1.0 2024-03-01
*/
@Data
@ApiModel(value = "按时间统计数据")
public class DataTimeStatisticsDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "日时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date time;
    @ApiModelProperty(value = "日数据")
    private Long dayData;
    @ApiModelProperty(value = "农村人居 ruralSettlements 文明城市 civilizedCity")
    private String type;

}